package com.itboy.message.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "wxmessage")
public class WeChatMessageProperties {
    /**
     * 公众号appId
     */
    private String appId;

    /**
     * 公众号appSecret
     */
    private String appSecret;

    /**
     * 获取token url
     */
    private String accessTokenUrl;

    /**
     * 发送模板消息url
     */
    private String sendMsgUrl;

	/**
	 * 模板id
	 */
	private String templateId;

	/**
	 * 获取订阅用户openId请求
	 */
	private String getUserOpenIdUrl;

	/**
	 * 获取用户信息url
	 */
	private String getUserInfoUrl;
}
